
import { PageIndex } from '~~/.nuxt/components';
<script setup lang="ts">
import { onMounted } from 'vue'
import useStore from '@/stores'

const { homeStore } = useStore()
onMounted(() => {

})
</script>
<template>
    <div class="pa page-index section" id="page-index">
        <a href="javascript:;" class="pa btn-video" @click="homeStore.handlePop(0)">
            <img :src="homeStore.pageIndex.video.img" alt="播放视频按钮">
        </a>
        <a href="javascript:;" class="pa btn-make" @click="homeStore.handlePop(1)">
            <img :src="homeStore.pageIndex.make.img" alt="预约按钮">
        </a>
        <a href="javascript:;" class="pa flo-reward" v-for="(item, index) in homeStore.pageIndex.floReward" :key="`floreward${index}`" :style="item.style">
            <img :src="item.img" alt="">
        </a>
    </div>
</template>
<style lang="scss" scoped>
@import '@/assets/styles/home_pc.scss';
</style>
